Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next

Dragging from an eclipse-rendered view does work but the legacy views are problematic

When documents are dragged from a csi view, like the inbox or the contacts list, the notes URLs of the selected documents are made available to the drop target as text strings. This means its easy to support this type of drag operation, just use a DropTarget with TextTransfer in its transfer list and the result of a drop will be a String array of notes URLs.

When the drag is from a noteswc view, however, this doesn't happen, the drag data is provided in formats for which there is no obvious Transfer class. It is possible to use com.ibm.rcp.swt.dnd.XMLTransfer and this will produce a drop result which is an array of URIDescriptor objects carrying the URLs of the selected documents. This class is marked deprecated however so this is maybe not a long term solution (though you would hope the inconsistency of two different view renderings would not be around in the long term either).


Feedback response number MLES792PDJ created by ~Jennifer Minjipymanader on 11/17/2007

Drag and drop notes document from v... (~Sanjay Brekile... 12.Nov.07)
. . Same question here... (~Nicole Umboosi... 12.Nov.07)
. . . . Got it working but... (~Vera Nontumite... 13.Nov.07)
. . . . . . So TextTransfer might be a solution... (~Sanjay Brekile... 13.Nov.07)
. . Dragging from an eclipse-rendered v... (~Dana Prekipulo... 17.Nov.07)
. . . . Do I need a DragSource to perform d... (~Sanjay Brekile... 17.Nov.07)
. . . . . . No, not to receive a drop (~Dana Prekipulo... 19.Nov.07)
. . . . . . . . Still no luck...sample code? (~Sanjay Brekile... 21.Nov.07)
. . . . . . . . . . Using the jface drag support its qu... (~Dana Prekipulo... 23.Nov.07)
. . . . . . . . . . . . DnD from notes: Solved! (~Sanjay Brekile... 27.Nov.07)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS